package com.jinmdz.app.api.model.config.dictionary;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.PropertySource;
import org.springframework.stereotype.Component;

/**
 * 接运任务状态编码
 *
 * @author LiCongLu
 * @date 2020-02-10 15:30
 */
@Component("transportStatusCode")
@PropertySource(value = {"classpath:dictionary-code.properties"}, encoding = "utf-8")
@ConfigurationProperties(prefix = "transport.car.task.status")
public class TransportStatusCode {
    /**
     * 已预约(未调度)
     */
    private Integer yiYuYue;

    /**
     * 未出车(已调度)
     */
    private Integer weiChuChe;

    /**
     * 已出车
     */
    private Integer yiChuChe;

    /**
     * 已返回
     */
    private Integer yiFanHui;

    /**
     * 返空车
     */
    private Integer fanKongChe;

    public Integer getYiYuYue() {
        return yiYuYue;
    }

    public TransportStatusCode setYiYuYue(Integer yiYuYue) {
        this.yiYuYue = yiYuYue;
        return this;
    }

    public Integer getWeiChuChe() {
        return weiChuChe;
    }

    public TransportStatusCode setWeiChuChe(Integer weiChuChe) {
        this.weiChuChe = weiChuChe;
        return this;
    }

    public Integer getYiChuChe() {
        return yiChuChe;
    }

    public TransportStatusCode setYiChuChe(Integer yiChuChe) {
        this.yiChuChe = yiChuChe;
        return this;
    }

    public Integer getYiFanHui() {
        return yiFanHui;
    }

    public TransportStatusCode setYiFanHui(Integer yiFanHui) {
        this.yiFanHui = yiFanHui;
        return this;
    }

    public Integer getFanKongChe() {
        return fanKongChe;
    }

    public TransportStatusCode setFanKongChe(Integer fanKongChe) {
        this.fanKongChe = fanKongChe;
        return this;
    }
}
